﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Pg2.Share.Entities;

public class DrawlotApplication
{
    [JsonPropertyName("id")][Column("ID")] public int Id { get; set; } 
    [JsonPropertyName("qymc")][Column("企业名称")] public string QYMC { get; set; } = string.Empty;
    [JsonPropertyName("dylzyrmc")][Column("抵押物所有权人名称")] public string? DYLZYRMC { get; set; } = string.Empty;
    [JsonPropertyName("pgdl")][Column("评估类型")] public string? PGDL { get; set; } = string.Empty;
    [JsonPropertyName("dylebddlbz")][Column("抵押物本异地标志")] public string? DYLEBDDLBZ { get; set; } = string.Empty;
    [JsonPropertyName("dylxdl1")][Column("抵押物类型大类1")] public string? DYLXDL1 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdx1")][Column("抵押物类型小类1")] public string? DYLXDX1 { get; set; } = string.Empty;
    [JsonPropertyName("dyzzwz1")][Column("抵押物座落位置1")] public string? DYZZWZ1 { get; set; } = string.Empty;
    [JsonPropertyName("dylqz1")][Column("抵押物权证1")] public string? DYLQZ1 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdl2")][Column("抵押物类型大类2")] public string? DYLXDL2 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdx2")][Column("抵押物类型小类2")] public string? DYLXDX2 { get; set; } = string.Empty;
    [JsonPropertyName("dyzzwz2")][Column("抵押物座落位置2")] public string? DYZZWZ2 { get; set; } = string.Empty;
    [JsonPropertyName("dylqz2")][Column("抵押物权证2")] public string? DYLQZ2 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdl3")][Column("抵押物类型大类3")] public string? DYLXDL3 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdx3")][Column("抵押物类型小类3")] public string? DYLXDX3 { get; set; } = string.Empty;
    [JsonPropertyName("dyzzwz3")][Column("抵押物座落位置3")] public string? DYZZWZ3 { get; set; } = string.Empty;
    [JsonPropertyName("dylqz3")][Column("抵押物权证3")] public string? DYLQZ3 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdl4")][Column("抵押物类型大类4")] public string? DYLXDL4 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdx4")][Column("抵押物类型小类4")] public string? DYLXDX4 { get; set; } = string.Empty;
    [JsonPropertyName("dyzzwz4")][Column("抵押物座落位置4")] public string? DYZZWZ4 { get; set; } = string.Empty;
    [JsonPropertyName("dylqz4")][Column("抵押物权证4")] public string? DYLQZ4 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdl5")][Column("抵押物类型大类5")] public string? DYLXDL5 { get; set; } = string.Empty;
    [JsonPropertyName("dylxdx5")][Column("抵押物类型小类5")] public string? DYLXDX5 { get; set; } = string.Empty;
    [JsonPropertyName("dyzzwz5")][Column("抵押物座落位置5")] public string? DYZZWZ5 { get; set; } = string.Empty;
    [JsonPropertyName("dylqz5")][Column("抵押物权证5")] public string? DYLQZ5 { get; set; } = string.Empty;
    [JsonPropertyName("pggsmc")][Column("评估公司名称")] public string? PGGSMC { get; set; } = string.Empty;
    [JsonPropertyName("qtqksms")][Column("其它情况说明")] public string? QTQKSMS { get; set; } = string.Empty;
    [JsonPropertyName("fj")][Column("附件")] public string? FJ { get; set; } = string.Empty;
    [JsonPropertyName("khyglid")][Column("客户经理ID")] public int? KHYGLID { get; set; } 
    [JsonPropertyName("khyglxm")][Column("客户经理姓名")] public string? KHYGLXM { get; set; } = string.Empty;
    [JsonPropertyName("khygltyrzh")][Column("客户经理统一认证号")] public string? KHYGLTYRZH { get; set; } = string.Empty;
    [JsonPropertyName("khyglsfbz")][Column("客户经理审查标识")] public int? KHYGLSFBZ { get; set; }
    [JsonPropertyName("sqlrq")][Column("申请日期")] public DateTime? SQLRQ { get; set; } = DateTime.Now;
    [JsonPropertyName("xgbscyid")][Column("信管部审查员ID")] public int? XGBSCYID { get; set; }
    [JsonPropertyName("xgbscyxm")][Column("信管部审查员姓名")] public string? XGBSCYXM { get; set; } = string.Empty;
    [JsonPropertyName("xgbscysfyj")][Column("信管部审查员审查意见")] public string? XGBSCYSFYJ { get; set; } = string.Empty;
    [JsonPropertyName("xgbscysfbz")][Column("信管部审查员审查标识")] public int? XGBSCYSFBZ { get; set; } 
    [JsonPropertyName("xgbscyrqr")][Column("信管部审查员审查日期")] public DateTime? XGBSCYRQR { get; set; }=DateTime.Now;
    [JsonPropertyName("yhrq")][Column("摇号日期")] public DateTime? YHRQ { get; set; } = DateTime.Now;
    [JsonPropertyName("xgbqryid")][Column("信管部确认员ID")] public int? XGBQRYID { get; set; }
    [JsonPropertyName("xgbqryxm")][Column("信管部确认员姓名")] public string? XGBQRYXM { get; set; } = string.Empty;
    [JsonPropertyName("xgbqryqrbz")][Column("信管部确认员确认标识")] public int? XGBQRYQRBZ { get; set; }
    [JsonPropertyName("xgbqrysfrq")][Column("信管部确认员确认日期")] public DateTime? XGBQRYSFRQ { get; set; } =DateTime.Now;
    [JsonPropertyName("jcsqryid")][Column("监察室确认员ID")] public int? JCSQRYID { get; set; } 
    [JsonPropertyName("jcsqryxm")][Column("监察室确认员姓名")] public string? JCSQRYXM { get; set; } = string.Empty;
    [JsonPropertyName("jcsqryqrbz")][Column("监察室确认员确认标识")] public int? JCSQRYQRBZ { get; set; }
    [JsonPropertyName("jcsqrysfrq")][Column("监察室确认员确认日期")] public DateTime? JCSQRYSFRQ { get; set; } = DateTime.Now;
    [JsonPropertyName("xgbfzrid")][Column("信管部负责人ID")] public int? XGBFZRID { get; set; } 
    [JsonPropertyName("xgbfzrxm")][Column("信管部负责人姓名")] public string? XGBFZRXM { get; set; } = string.Empty;
    [JsonPropertyName("xgbfzrfqbz")][Column("信管部负责人确认标识")] public int? XGBFZRFQBZ { get; set; } 
    [JsonPropertyName("xgbfzrsfrq")][Column("信管部负责人确认日期")] public DateTime? XGBFZRSFRQ { get; set; } = DateTime.Now;
    [JsonPropertyName("ywpz")][Column("业务品种")] public string? YWPZ { get; set; } = string.Empty;
    [JsonPropertyName("zghcytyrzh")][Column("主管行长_统一认证号")] public string? ZGHCYTYRZH { get; set; } = string.Empty;
    [JsonPropertyName("zghxm")][Column("主管行长_姓名")] public string? ZGHXM { get; set; } = string.Empty;
    [JsonPropertyName("zghsfbz")][Column("主管行长_审核标识")] public int? ZGHSFBZ { get; set; } 
    [JsonPropertyName("zghsfrq")][Column("主管行长_审核日期")] public DateTime? ZGHSFRQ { get; set; } = DateTime.Now;
    [JsonPropertyName("qyyjltyrzh")][Column("区域经理_统一认证号")] public string? QYYJLTYRZH { get; set; } = string.Empty;
    [JsonPropertyName("qyyjlxm")][Column("区域经理_姓名")] public string? QYYJLXM { get; set; } = string.Empty;
    [JsonPropertyName("qyyjlsfbz")][Column("区域经理_审核标识")] public int? QYYJLSFBZ { get; set; }
    [JsonPropertyName("qyyjlsfrq")][Column("区域经理_审核日期")] public DateTime? QYYJLSFRQ { get; set; } = DateTime.Now;
    [JsonPropertyName("dxrh")][Column("多选摇号")] public bool? DXRH { get; set; } 
    [JsonPropertyName("ypcs")][Column("押品次数")] public int? YPCS { get; set; } 
    [JsonPropertyName("hygsh")][Column("候选个数")] public int? HYGSH { get; set; }
}
